package com.sgcc.epri.dcloud.mapper.dm;

import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface TaskMapper {

    Integer update(@Param("threadId") long threadId, @Param("treeId") String treeId, @Param("status") String status, @Param("dataTypeDimensionality") String dataTypeDimensionality, @Param("objectIds") String objectIds);

    void insert(@Param("threadId") long threadId, @Param("treeId") String treeId, @Param("status") String status, @Param("dataTypeDimensionality") String dataTypeDimensionality, @Param("objectIds") String objectIds);

    Map<String, Object> findTaskStatusById(@Param("treeId") String treeId, @Param("dataTypeDimensionality") String dataTypeDimensionality, @Param("objectIds") String objectIds);

    List<Map<String, Object>> findTaskAllStatusById(@Param("treeId") String treeId);

    void deleteRecord();

}
